import React from 'react';

interface IPurchaseApplyStatisticsContextAPI {
  styleFixCls: string;
  countStepType: string;
  changeStepType: (res: string) => void;
}

/** 默认上下文 */
const INIT_PURCHASEAPPLY_VALUE: IPurchaseApplyStatisticsContextAPI = {
  styleFixCls: '',
  countStepType: '',
  changeStepType: () => {},
};

const PurchaseApplyStatisticsContext = React.createContext<IPurchaseApplyStatisticsContextAPI>(INIT_PURCHASEAPPLY_VALUE);

export { PurchaseApplyStatisticsContext };
